package com.dhcc.bpm.modules.scf.entity.HomePage;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 首页部分信息展示实体类
 */
@Data
public class ScfHomePage implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 当月成交金额
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal dyTotalAmount;

    /**
     * 当月成交吨数
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal dydsWeight;

    /**
     * 当月减少碳排量
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal dyCarbonEmissions;

    /**
     * 当年成交金额
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal dnTotalAmount;

    /**
     * 当年纳税金额
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal dnnsAmount;

    /**
     * 累计成交金额
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal ljTotalAmount;

    /**
     * 累计纳税金额
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal ljnsAmount;

    /**
     * 当年订单成交量
     */
    private String dnSalesCount;

    /**
     * 当年成交吨数
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal dnWeight;

    /**
     * 累计订单成交量
     */
    private String ljSalesCount;

    /**
     * 累计成交吨数
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal ljWeight;

    /**
     * 累计减少碳排放量
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal carbonEmissions;


    /**
     * 数据owner
     */
    private String orgCode;


}
